package com.yjq.programmer.service;

import com.yjq.programmer.dto.LyricsDTO;
import com.yjq.programmer.dto.PageDTO;
import com.yjq.programmer.dto.ResponseDTO;

import java.util.List;

/**
 * @author 杨杨吖
 * @QQ 823208782
 * @WX yjqi12345678
 * @create 2022-11-13 17:49
 */
public interface ILyricsService {

    // 分页获取歌词数据
    ResponseDTO<PageDTO<LyricsDTO>> getLyricsListByPage(PageDTO<LyricsDTO> pageDTO);

    // 保存歌词数据(添加、修改)
    ResponseDTO<Boolean> saveLyrics(LyricsDTO lyricsDTO);

    // 删除歌词数据
    ResponseDTO<Boolean> removeLyrics(LyricsDTO lyricsDTO);

    // 根据音乐id获取歌词数据
    ResponseDTO<List<LyricsDTO>> getLyricsListByMusicId(LyricsDTO lyricsDTO);
}
